// Toasts
.md-toast-title {
  font-weight: 400;
}

.md-toast-message {
  word-wrap: break-word;
}

.md-toast-message a,
.md-toast-message label {
  // color: #fff !important;
  @extend .white-text !optional;
}

.md-toast-message a:hover {
  color: $toast-message-a-hover-color;
  text-decoration: none;
}

.md-toast-close-button {
  // color: #fff !important;
  @extend .white-text !optional;
  position: relative;
  top: $toast-close-button-top;
  right: $toast-close-button-right;
  float: right;
  font-size: $toast-close-button-font-size;
  font-weight: 400;
  text-shadow: $toast-close-button-text-shadow $white-base;
  filter: $toast-close-button-filter;
  opacity: $toast-close-button-opacity;
}

.md-toast-close-button:hover,
.md-toast-close-button:focus {
  // color: #000 !important;
  @extend .black-text !optional;
  text-decoration: none;
  cursor: pointer;
  filter: $toast-close-button-hover-filter;
  opacity: $toast-close-button-hover-opacity;
}

button.md-toast-close-button {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  appearance: none;
}

.md-toast-top-center {
  top: 0;
  right: 0;
  width: 100%;
}

.md-toast-bottom-center {
  right: 0;
  bottom: 0;
  width: 100%;
}

.md-toast-top-full-width {
  top: 0;
  right: 0;
  width: 100%;
}

.md-toast-bottom-full-width {
  right: 0;
  bottom: 0;
  width: 100%;
}

.md-toast-top-left {
  top: $toast-top-bottom-left-right-size;
  left: $toast-top-bottom-left-right-size;
}

.md-toast-top-right {
  top: $toast-top-bottom-left-right-size;
  right: $toast-top-bottom-left-right-size;
}

.md-toast-bottom-right {
  right: $toast-top-bottom-left-right-size;
  bottom: $toast-top-bottom-left-right-size;
}

.md-toast-bottom-left {
  bottom: $toast-top-bottom-left-right-size;
  left: $toast-top-bottom-left-right-size;
}

#toast-container {
  position: fixed;
  z-index: 999999;
}

#toast-container * {
  box-sizing: border-box;
}

#toast-container > div {
  position: relative;
  width: $toast-container-width;
  padding: $toast-container-py $toast-container-pr $toast-container-py $toast-container-pl;
  margin: 0 0 $toast-container-margin;
  overflow: hidden;
  filter: $toast-container-filter;
  background-repeat: no-repeat;
  background-position: $toast-container-py center;
  box-shadow: $z-depth-1;
  opacity: $toast-container-opacity;
  // color: #fff !important;
  @extend .white-text !optional;
}

#toast-container > :hover {
  cursor: pointer;
  filter: $toast-container-hover-filter;
  box-shadow: $z-depth-2;
  opacity: $toast-container-hover-opacity;
  transition: $toast-container-hover-transition;
}

#toast-container.md-toast-top-center > div,
#toast-container.md-toast-bottom-center > div {
  width: $toast-container-width;
  margin: auto;
}

#toast-container.md-toast-top-full-width > div,
#toast-container.md-toast-bottom-full-width > div {
  width: $toast-container-top-full-width;
  margin: auto;
}

.md-toast {
  background-color: $toast-bgc;
}

.md-toast-success {
  background-color: $success-color;
  background-image: url("") !important;
}

.md-toast-error {
  background-color: $danger-color;
  background-image: url("") !important;
}

.md-toast-info {
  background-color: $info-color;
  background-image: url("") !important;
}

.md-toast-warning {
  background-color: $warning-color;
  background-image: url("") !important;
}

.md-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: $toast-progress-height;
  background-color: $black-base;
  filter: $toast-progress-filter;
  opacity: $toast-progress-opacity;
}
